﻿using Mes.Domain.BoundedContext;

namespace Mes.Application.DTO.Results.Operations
{
    /// <summary>
    /// 工艺出参
    /// </summary>
    public class ProcessResult
    {
        /// <summary>
        /// 工艺编码
        /// </summary>
        public string Process_Id { get; set; } = string.Empty;

        /// <summary>
        /// 工艺名称
        /// </summary>
        public string Process_Desc { get; set; } = string.Empty;

        /// <summary>
        /// 描述
        /// </summary>
        public string Spare1 { get; set; } = string.Empty;

        /// <summary>
        /// 版本 
        /// </summary>
        public string Process_Ver_Id { get; set; } = string.Empty;

        /// <summary>
        /// 备用
        /// </summary>
        public string Notes { get; set; } = string.Empty;

        /// <summary>
        /// 工艺状态
        /// 0:不启用 1：启用
        /// </summary>
        public int Process_Status { get; set; }

        /// <summary>
        /// 工序列表
        /// </summary>
        public List<OpersResult> OpersResults { get; set; } = new List<OpersResult>();
    }

    /// <summary>
    /// 查询单个工艺出参
    /// </summary>
    public class CurrentProcessResult:ProcessResult
    {
        /// <summary>
        /// 物料列表
        /// </summary>
        public IList<IdNameResult> Materials { get; set; } = new List<IdNameResult>();
    }

    /// <summary>
    /// 分页查询工艺列表出参
    /// </summary>
    public class ProcessesResult : ProcessResult
    {
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Created_At { get; set; } = DateTime.Now;

     
    }
}
